package com.woniuxy.service.mapper;

import com.woniuxy.commons.entity.ServiceItem;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ServiceItemMapper {
    public List<ServiceItem> all();
    public List<ServiceItem> enableservice();
    public List<ServiceItem> disableservice();
    public int update(ServiceItem serviceItem);
    public int del(int serviceId);
    public int add(ServiceItem serviceItem);
    public List<ServiceItem> find(String key);
    public List<ServiceItem> findenableservice(String key);

}
